package cn.tedu.csmall.product.config;

import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Slf4j
@MapperScan("cn.tedu.csmall.product.mapper")
@Configuration
public class MyBatisConfiguration {
    public MyBatisConfiguration(){
        log.debug("创建MyBatisConfiguration配置类");
    }

    @Autowired
    private List<SqlSessionFactory> sqlSessionFactories;

    public void a(){

    }

}
